-- GENERATED SPELL FOR [Bloodthirsty Worg] --


function spell0_24475(pUnit, Event) --@Infected Bite,n/a--
pUnit:FullCastSpellOnTarget(7367,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_24475', 30000, 1)
end

function Sorts_24475(pUnit, Event)
local choix_sorts_24475 = math.random(0, 0)
if choix_sorts_24475 == 0 then
pUnit:RegisterEvent('spell0_24475', 1, 1)
end
end

function mob24475_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_24475', math.random(1500, 3000), 1)
end

function mob24475_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24475_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24475_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(24475, 1, 'mob24475_Action')
RegisterUnitEvent(24475, 2, 'mob24475_Leave')
RegisterUnitEvent(24475, 3, 'mob24475_Kill')
RegisterUnitEvent(24475, 4, 'mob24475_Die')
